← Back to issue list

Desktop extension symlinks aren't updated on snap revert

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2009970
Type
issue
State
open
Author
~lauren-brock
Labels
Created
2023-03-10 14:55:34.218654+00:00
Updated
2023-03-27 16:43:37.374156+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

The desktop extensions check whether or not to symlink libraries based on the contents of $SNAP_USER_DATA/.last_revision. Because $SNAP_USER_DATA is versioned, after a snap is reverted, the desktop-launch script will check .last_revision, but it will always match the (now) current revision. This leads to broken symlinks that point to a revision more recent than the current revision (since they are not updated after a revert). This issue also affects the ubuntu/snapcraft-desktop-helpers repository.

Evaluation history

No evaluation history available.